onStateOrSubstate

inline fun <I : State> FSMBuilder.onStateOrSubstate(handler: StatesHandler<I>)